import request from '@/utils/request'

export function createDeviceParam(param) {
  return request({
    url: '/mes-device-parameter/SaveDeviceParameter',
    method: 'post',
    data: param
  })
}

export function updateDeviceParam(param) {
  return request({
    url: '/mes-device-parameter/SaveDeviceParameter',
    method: 'post',
    data:param
  })
}

export function deleteDeviceParam(param) {
  let url ='/mes-device-parameter/DeleteDeviceParameter/' + param
  return request({
    url: url,
    method: 'delete'
  })
}


